package com.yuanfengPlus.TaskManage.dao;

import com.yuanfengPlus.TaskManage.model.TodoTask;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TodoTaskDao {
    int insert(TodoTask todoTask);
    //根据待办处理人查找
    List<TodoTask> selectByUserName(String username);
    //操作待办事件
    int update(String username , String userOperation);
}